package cn.lecosa.spark.es.entity;
import java.io.Serializable;

public class PhoneObj implements Serializable{
	private String f_phone_id;
	private Double f_phone_degree;
	
	
	
	public PhoneObj() {
		super();
	}
	public PhoneObj(String f_phone_id, Double f_phone_degree) {
		super();
		this.f_phone_id = f_phone_id;
		this.f_phone_degree = f_phone_degree;
	}
	public String getF_phone_id() {
		return f_phone_id;
	}
	public void setF_phone_id(String f_phone_id) {
		this.f_phone_id = f_phone_id;
	}
	public Double getF_phone_degree() {
		return f_phone_degree;
	}
	public void setF_phone_degree(Double f_phone_degree) {
		this.f_phone_degree = f_phone_degree;
	}
	
	
	
	@Override
	public String toString() {
		return "PhoneObj [f_phone_id=" + f_phone_id + ", f_phone_degree=" + f_phone_degree + "]";
	}
	@Override
	public boolean equals(Object arg0) {
		if(arg0 instanceof PhoneObj){
			PhoneObj o = (PhoneObj)arg0;
			if (o.getF_phone_id().equals(this.getF_phone_id()))
				return true;
		}
		return false;
	}
}
